<?php
echo time();

$dbconfig = require_once('../Application/Common/Conf/db.php');
$out_trade_no = '201708031247538374180';
		$con=mysqli_connect($dbconfig['DB_HOST'],$dbconfig['DB_USER'],$dbconfig['DB_PWD'],$dbconfig['DB_NAME']);
		// 检查连接
		if (!$con)
		{
			die("连接错误: " . mysqli_connect_error());
		}

        $sql = "select * from lc_taocanorder where orderid='".$out_trade_no."'";
        $result = $con->query($sql);
		$row = $result->fetch_assoc();
        echo "<pre>ddddddddd";print_r($row);

?>

